package com.djinfo.work.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.List;

/**
 */
@Entity
@Table(name = "tb_qs_user_question")
public class QsUserQuestionEntity implements Serializable{
    private static final long serialVersionUID = 1L;

    public QsUserQuestionEntity(){}
    public QsUserQuestionEntity(String uId) {
        this.uId = uId;
    }
    /**
     * 主键
     */
    @Id
    @Basic(optional = false)
    @GeneratedValue(generator = "id")
    @GenericGenerator(name = "id", strategy = "uuid")
    @Column(name = "id")
    private String id;//主键
    @Column(name = "uid")
    private String uId;//系统用户ID
    @Column(name = "qid")
    private String qId;//问卷Id
    @Column(name = "pid")
    private String quId;//患者Id
    @Column(name = "hospital")
    private String hospitalName;//医院名称
    @Column(name = "p_name")
    private String pName;//患者名称
    @Column(name = "create_time")
    private String createTime;//创建时间
    @Column(name = "update_time")
    private String updateTime;//更新时间
    @Column(name = "is_submit")
    private String isSubmit;
    @Column(name = "doctor_name")
    private String doctorName;//跟台人员姓名
    @Column(name = "sales_account")
    private String salesAccount;//销售账户
    @Column(name = "sales_name")
    private String salesName;//销售人姓名
    @Column(name = "have_attached")
    private String haveAttached;//是否含有附表
    @Column(name = "operation_man")
    private String operationMan;//术者
    @Transient
    private String questionName;

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getHaveAttached() {
        return haveAttached;
    }

    public void setHaveAttached(String haveAttached) {
        this.haveAttached = haveAttached;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getqId() {
        return qId;
    }

    public void setqId(String qId) {
        this.qId = qId;
    }

    public String getQuId() {
        return quId;
    }

    public void setQuId(String quId) {
        this.quId = quId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsSubmit() {
        return isSubmit;
    }

    public void setIsSubmit(String isSubmit) {
        this.isSubmit = isSubmit;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getSalesAccount() {
        return salesAccount;
    }

    public void setSalesAccount(String salesAccount) {
        this.salesAccount = salesAccount;
    }

    public String getSalesName() {
        return salesName;
    }

    public void setSalesName(String salesName) {
        this.salesName = salesName;
    }

    public String getOperationMan() {
        return operationMan;
    }

    public void setOperationMan(String operationMan) {
        this.operationMan = operationMan;
    }
}
